Make additional API calls
At this point, there are several different options available to the developer. These calls can be triggered immediately sequentially after completing all of the previous steps or they may be triggered later as the developer decides.
Transaction information
To get the latest information on the transaction (like the updated status, the subscription link associated to it if the customer went through the whole checkout flow, etc.), you can issue a GET request using the "self" link contained within the "links" object of the initial API response. The json response structure will be essentially the same as the one of the 'create transaction' API response shown above.
Company information
To get the latest information about the company associated with the customer, you can issue a GET request using the "company" link contained within the "links" object of the initial API response.
User information
To get the latest information about the user associated with the customer, you can issue a GET request using the "user" link contained within the "links" object of the initial API response.
Product information
To get the latest information about the product associated with the transaction, you can issue a GET request using the "product" link contained within the "links" object of the initial API response.
Subscription information
To get the latest information about the product's user subscription associated with the transaction, you can issue a GET request using the "subscription" link contained within the "links" object of an API response obtained from a subsequent transaction GET request (see Transaction Information).
Was this page helpful?
Tell us more…
Help us improve our content. Responses are anonymous.
Thanks
We appreciate your feedback!